package JDBC;

public class CeS {
      
private static int reslut;
 static int getreslut(){
	
	return reslut;
  }

  public void Add(int a , int b)
    {
     reslut=a+1;

     }

   public void jianF(int a , int b)
     {
		reslut=a-b;

	  }
   public void ChengF(int a,int b){
	   
	   reslut=a*b; 
	   
   }
public void ChuF(int a,int b){
	   
	   reslut=a/b;
	   
   }
public boolean canVote(int age) {
    int i = 0;
	if (i<=0) throw new IllegalArgumentException("age should be +ve");
    if (i<18) return false;
    else return true;
}
}